export interface Menu{
  path?: string;
  name?: string;
  resourceKey?: string;
  children?: Menu[];
}

const menus: Menu[] = [
  {
    name: '评测管理',
    resourceKey: 'EVALUATION',
    children: [
      {
        path: '/evaluation/evaluation-data',
        name: '评测数据',
        resourceKey: 'EVALUATION_DATA',
      },
      {
        path: '/evaluation/evaluation-project',
        name: '评测项目',
        resourceKey: 'EVALUATION_PROJECT',
      }
    ]
  },
  {
    name: '社区文章管理',
    resourceKey: 'COMMUNITY',
    children: [
      {
        path: '/community/article',
        name: '文章管理',
        resourceKey: 'COMMUNITY_ARTICLE',
      },
      // {
      //   path: '/community/category',
      //   name: '分类管理',
      //   resourceKey: 'COMMUNITY_CATEGORY',
      // }
    ]
  },
  {
    path: '/brand',
    name: '品牌管理',
    resourceKey: 'BRAND',
  },
  {
    name: '管理员管理',
    resourceKey: 'ACCOUNT',
    children: [
      {
        path: '/account/admin',
        name: '管理员账号管理',
        resourceKey: 'ACCOUNT_ADMIN',
      },
      {
        path: '/account/role',
        name: '管理员角色管理',
        resourceKey: 'ACCOUNT_ROLE',
      },
    ]
  },
  {
    path: '/carousel',
    name: '广告管理',
    resourceKey: 'CAROUSEL'
  },
  {
    path: '/global-config',
    name: '全局配置管理',
    resourceKey: 'GLOBAL_CONFIG'
  },
  {
    path: '/personal',
    name: '个人中心'
  }
]

export default menus;
